<template>
  <div class="option-column">
    <Tooltip content="编辑" placement="top">
      <i-button type="text" icon="edit" @click="edit(data)"></i-button>
    </Tooltip>
    <Tooltip content="删除" placement="top">
      <i-button type="text" icon="trash-a" @click="deleteItem(data)"></i-button>
    </Tooltip>
  </div>
</template>
<script type="text/ecmascript-6">
  export default{
    components: {},
    props: ['data', 'edit', 'deleteItem'],
    data () {
      return {}
    }
  }
</script>
<style lang="less">
</style>
